package com.ziq.baselib.business.post

import com.ziq.base.manager.RetrofitManager
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

@Module
@InstallIn(SingletonComponent::class)
class PostingListModule {

    @Provides
    fun provideRetrofitManager(retrofitManager : RetrofitManager): PostingService {
        return retrofitManager.getRetrofit("https://testservice.xizhihn.com/")!!.create(
            PostingService::class.java)
    }

}